package aufagabe2.master;

import java.io.Serializable;

public class DataMessage implements Serializable {
	
	private static final long serialVersionUID = -2367672047089436663L;
	private String address;
	private int port;
	
	DataMessage(String adr, int p){
		this.setAddress(adr);
		this.setPort(p);
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddress() {
		return address;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public int getPort() {
		return port;
	}

}
